package com.qfedu.yuxiaoer.mapper;

import com.qfedu.yuxiaoer.entity.OcGoods;
import com.qfedu.yuxiaoer.entity.OcGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OcGoodsMapper {
    long countByExample(OcGoodsExample example);

    int deleteByExample(OcGoodsExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OcGoods record);

    int insertSelective(OcGoods record);

    List<OcGoods> selectByExample(OcGoodsExample example);

    OcGoods selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OcGoods record, @Param("example") OcGoodsExample example);

    int updateByExample(@Param("record") OcGoods record, @Param("example") OcGoodsExample example);

    int updateByPrimaryKeySelective(OcGoods record);

    int updateByPrimaryKey(OcGoods record);
}